ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Programming (Section 1 - No. 41)

What is the main difference between constants and variables?
Variables store numbers, constants store text.
Constants can be changed during program execution, variables cannot.
Variables can be changed during program execution, constants cannot.
Constants require more memory than variables.

Forklaring

A variable's value can be altered, a constant's remains fixed throughout the program.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc